# 火币网API接口对接demo
# 十三中币的情况
# 1、USDT 2、BTC 3、ETH 4、EOS 5、XRP 6、LTC 7、HT 8、HUSD 9、BCH 10、ETC 11、BSV 12、DASH 13、HPT
import requests

# url = 'https://www.huobi.com/zh-cn/exchange/'
url = 'https://www.huobi.com/zh-cn/exchange/eth_usdt/'
headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36'}
# data = {
#     '': '',
#     '': '',
# }
proxy = {
    'https': 'http://95.66.101.125:8080'
}
cookie = "__cfduid=d28e33fcb495e23e75a20ffee769f4fa21611045830; X-HB-AB-Oa9370=B; _ga=GA1.2.1832834552.1611045834; _gid=GA1.2.1720329165.1611045834; invite_code=hw7j5; __zlcmid=12EjkKrfsiBAG1F; etpToTradeTip=1; HB-UC-TOKEN=H85OQlcsGANyt3d6P+GaKZggXXGNEVrpHSlMFOFStctXJwHtlWtSP8qjAHiX39KtJJZ5ZpVq86Eg7Q2e87Z7ADYrNgHWITsxFnPK7zytLTAdrwQVn1d+Yg+zO05ZUgyAM/f3CWd6iAoV+KCdo5mpwASU6Fdj4Q/mMUXMBwZWTCvJhEEr92+/begWMFnRiGs672+KRMXxXvHvqtv/nxH+mg==; HB-PRO-TOKEN=ENgn4Q494gACTOXjqyygmFdNS7XTTrIHATOUVLzf6fYY-uOP2m0-gvjE57ad1qDF; HB-OLD-TOKEN=ENgn4Q494gACTOXjqyygmFdNS7XTTrIHATOUVLzf6fYY-uOP2m0-gvjE57ad1qDF; etpRiskTip=1; token=ENgn4Q494gACTOXjqyygmFdNS7XTTrIHATOUVLzf6fYY-uOP2m0-gvjE57ad1qDF; hb-otc-token=ENgn4Q494gACTOXjqyygmFdNS7XTTrIHATOUVLzf6fYY-uOP2m0-gvjE57ad1qDF; hbsession=f14b20ff-7990-4664-851a-e7b7bb6d7a30; _ha_session=1611104029648; _ha_session_id=28387575-5296-3b40-8a24-20fd0f0c; _gat=1"
response = requests.get(url, headers=headers, proxy=proxy)
print(response.content)